<!DOCTYPE html>
<html>
<!-- RI面板 -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <meta name="keywords" content="{:sysconfig('home','htitle')}" />
  <meta name="description" content="{:sysconfig('home','htitle')}" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>{:sysconfig('home','htitle')}</title>
	<link href="/style/style.css" rel="stylesheet" />
<link href="/style/dnf.css" rel="stylesheet" />
<link href="/style/main.css" rel="stylesheet" />
<link href="/style/xf.css" rel="stylesheet" />
	<script src="/qstatic/js/layui.js"></script>
	<link rel="stylesheet" href="/qstatic/js/css/layui.css" />
<script src="/qstatic/js/jquery.min.js"></script>


</head>

<body style="background-image:url({:sysconfig('home','homeimg')});background-position: center 0;background-repeat: no-repeat;background-color:#f9f9f9;background-size: 100% auto;">

<div class="head">
    
        <div style="width: {:sysconfig('home','logowidth')};height: {:sysconfig('home','logoheight')};position: absolute;left: {:sysconfig('home','logoleft')};top: {:sysconfig('home','logotop')};z-index: 3;background: url({:sysconfig('home','homelogo')}) no-repeat 0 0;">
        </div>

        <div class="head_t">
			<div class="head_inner">
			    <!--靠右可以定义-->
				<ul class="head_over"  style="margin-right: 10%;">
						{if sysconfig('home','hnavname1') != "#"}<a onclick="sopen('{:sysconfig('home','hnavlink1')}')" target="_blank"><li>{:sysconfig('home','hnavname1')}<span>OPTION</span></li></a>{/if}
						{if sysconfig('home','hnavname2') != "#"}<a onclick="sopen('{:sysconfig('home','hnavlink2')}')" target="_blank"><li>{:sysconfig('home','hnavname2')}<span>OPTION</span></li></a>{/if}
						{if sysconfig('home','hnavname3') != "#"}<a onclick="sopen('{:sysconfig('home','hnavlink3')}')" target="_blank"><li>{:sysconfig('home','hnavname3')}<span>OPTION</span></li></a>{/if}
						{if sysconfig('home','hnavname4') != "#"}<a onclick="sopen('{:sysconfig('home','hnavlink4')}')" target="_blank"><li>{:sysconfig('home','hnavname4')}<span>OPTION</span></li></a>{/if}
						{if sysconfig('home','hnavname5') != "#"}<a onclick="sopen('{:sysconfig('home','hnavlink5')}')" target="_blank"><li>{:sysconfig('home','hnavname5')}<span>OPTION</span></li></a>{/if}
					
				</ul>
			</div>
        </div>

</div>


    <!-- 这里可定义缩放-->
    <div class="content" style="margin-top:{:sysconfig('home','intop')}">
        <div class="content_l">
            <ul class="content_l_t" style="background: url({:sysconfig('home','gnqimg')}) no-repeat 0 0;">
            <li class="down" id="down"><a target="_blank" onclick="sopen('{:sysconfig('home','gnqlink1')}')">RIPANEL</a></li>
        	<li class="downapp"><a target="_blank" onclick="sopen('{:sysconfig('home','gnqlink2')}')">RIPANEL</a></li>
            <li class="regist"><a target="_blank" onclick="sopen('{:sysconfig('home','gnqlink3')}')">RIPANEL</a></li>
            <li class="recharge"><a onclick="sopen('{:sysconfig('home','gnqlink4')}')" target="_blank">RIPANEL</a></li>
            <li class="props"><a onclick="sopen('{:sysconfig('home','gnqlink5')}')">RIPANEL</a></li>
            </ul>
        </div>
        <div class='content_r'>
            <div class="mode mode-1 index-show">
            	<div class="mode_l">
            		<div class="gg">
            			
            			<div class="gg_lb ggBox swiper-container" id="ggBox">
            				<div class="layui-carousel" id="ID-carousel-demo-image">
                              <div carousel-item>
                                  {volist name='bannerlist' id='vo'}
                                    <div><a href="{$vo.link}"><img class="rsimg" src="{$vo.img}"></a></div>
                                  {/volist}
                                
                                
                              </div>
                            </div>
            			</div>
            		</div>
            	</div>
            	<div class="mode_r">
            		<div class="news" id="news-tab">
            			<ul class="news-hd">
            				<li class=" cur">
            					<a href="javascript:;">公告</a>
            					<span class="sprite icon-push"></span>
            					<!--<em id="nGg" style="display: block;">1</em>-->
            				</li>
            			</ul>
            			<div class="news-bd">
            					<ul class="news-list">
                                    {volist name="txtlist" id="vo"}
            						    {if $vo.id == '10086'}
                    						<li class="news-hot">
                    							<span>...</span>
                    							<em class="sprite news_type news_type1">公告</em>
                    							<a href="/home/info?id={$vo.id}">{$vo.name}</a>
                    						</li>
            						    {/if}
            						{/volist}
            						{volist name="txtlist" id="vo"}
            						    {if $vo.id != '10086'}
                    						<li class="">
                    							<span>{$vo.time|date="m-d"}</span>
                    							<em class="sprite news_type news_type1">公告</em>
                    							<a href="/home/info?id={$vo.id}">{$vo.name}</a>
                    						</li>
            						    {/if}
            						{/volist}
            
            					</ul>
            					
            				</div>
            			</div>
            		</div>
            	</div>
            </div>            
        </div>




	
	    <div class="mode-b index-show">
		<div class="mode_l" style="width:100%">
			<ul style="justify-content: center;display: flex;">

				<li class="pp1" style="background: url(/images/bg_pp.png) no-repeat 0 0;background-position: center 0;">
					<a>
						<h3>{:sysconfig('home','haz1')}</h3>
						<p>{:sysconfig('home','haf1')}</p>
					</a>
				</li>
				<li class="pp2"  style="background: url(/images/bg_pp.png) no-repeat 0 0;background-position: center 0;">
					<a>
						<h3>{:sysconfig('home','haz2')}</h3>
						<p>{:sysconfig('home','haf2')}</p>
					</a>
				</li>
				<li class="pp3"  style="background: url(/images/bg_pp.png) no-repeat 0 0;background-position: center 0;">
					<a>
						<h3>{:sysconfig('home','haz3')}</h3>
						<p>{:sysconfig('home','haf3')}</p>
				    </a>
				</li>
				<li class="pp3"  style="background: url(/images/bg_pp.png) no-repeat 0 0;background-position: center 0;">
					<a>
						<h3>{:sysconfig('home','haz4')}</h3>
						<p>{:sysconfig('home','haf4')}</p>
					</a>
				</li>
				<li class="pp3"  style="background: url(/images/bg_pp.png) no-repeat 0 0;background-position: center 0;">
					<a>
						<h3>{:sysconfig('home','haz5')}</h3>
						<p>{:sysconfig('home','haf5')}</p>
					</a>
				</li>
			</ul>
		</div>
	</div>
	
	
	
	
    <div class="rstx">
		<ul class="rstx1">
            <li class="rstx2">抵制不良游戏</li><li class="rstx2">拒绝盗版游戏</li><li class="rstx2">注意自我保护</li><li class="rstx2">谨防受骗上当</li><li class="rstx2">适度游戏益脑</li><li class="rstx2">沉迷游戏伤身</li><li class="rstx2">合理安排时间</li><li class="rstx2">享受健康生活</li>
		</ul>
	</div>



		
		
		

	<footer id="footer" style="background:linear-gradient(to bottom, #bfbfbf, #ffffff00);padding: 10px;" >
    	<div class="center">
        	<a style="margin-top: -10px;" class="bomlogo"><img src="{:sysconfig('home','homelogo')}" style="height:80px"> </a>
            <div class="box">
                    <div class="tips" style="color: #6f6e6f;font-size: 0.7rem;">抵制不良游戏 拒绝盗版游戏，注意自我保护 谨防受骗上当，适度游戏益脑 沉迷游戏伤身，合理安排时间 享受健康生活</div>
                    <div style="color: #6f6e6f;font-size: 0.7rem;">COPYRIGHT © 1998 - 2024 RI面板. ALL RIGHTS RESERVED.</div>
            </div>
    	</div>
    </footer>
<iframe id="myiframe" src="about:blank" style="display:none"></iframe>
<EMBED src="30ps.mp3" width=0 height=0 type=audio/mpeg border="0" autostart="ture" loop="ture"></EMBED>
</body>

<div class="main-im">
    <button class="butripanel" style="top: 51%;" onclick="window.open('/home/bczm?type=1','_blank');layer.msg('请自行下载到桌面');">保存官网</button>
    <button class="butripanel" style="top: 65%;" onclick="window.open('/home/bczm?type=2','_blank');layer.msg('请自行下载到桌面');">保存群聊</button>
  <div class="im_main" id="im_main" style="display: block;"></div>
</div>

</html>
<script>




function isIE() { //初始化
    if (!!window.ActiveXObject || "ActiveXObject" in window){
        document.documentElement.innerHTML = '<html><head><title>浏览器不支持</title></head><body><h1>不支持IE浏览器,请更换浏览器</h1></body></html>';
    }else{
        return false;
    }
}
isIE()


    if('{:sysconfig("home","tc")}' == "1"){
        if('{:sysconfig("home","chatlink")}' == "/chat/index"){
            layer.open({
                    type: 2,
                    title: 'RI通讯',
                    shadeClose: false,
                    maxmin: true, //开启最大化最小化按钮
                    area: ['400px', '700px'],
                    content: '/chat',
                    anim:2,
                    isOutAnim:true,
                    shade:0,
                    offset:"rb",
                  });
        }else{
             $('#myiframe').attr('src', '{:sysconfig("home","chatlink")}');
        }
    }
    
    function saveURLToDesktop(url, title) {
    // 创建一个a元素
    var a = document.createElement('a');
    a.href = url;
    a.target = '_blank';
    a.download = title || 'download';
 
    // 触发点击事件
    var ev = document.createEvent('MouseEvents');
    ev.initMouseEvent('click', true, true, window, 1, 0, 0, 0, 0, false, false, false, false, 0, null);
    a.dispatchEvent(ev);
}
    

    
    function sopen(url){
    if(url == "/chat/index"){
        layer.alert('请选择打开方式', {
            btn: ['新页面', '独立窗口', '窗口组件'],
            btnAlign: 'c', // 按钮居中显示
            btn1: function(){
              window.open('/chat','_blank')  
              layer.msg('已经弹出群聊窗口');
            },
            btn2: function(){
                window.open('/chat','_blank','width=540,height=960,menubar=no,toolbar=no,status=no,scrollbars=yes,titlebar=no')  
                layer.msg('已经弹出群聊窗口,如没反应请检查浏览器拦截');
            },
            btn3: function(){
                layer.open({
                    type: 2,
                    title: 'RI通讯',
                    shadeClose: false,
                    maxmin: true, //开启最大化最小化按钮
                    area: ['400px', '700px'],
                    content: '/chat',
                    anim:2,
                    isOutAnim:true,
                    shade:0,
                    offset:"rb",
                  });
                layer.msg('已经弹出群聊窗口');
            },
          });
    }else if(url == "/home/sign"){
        layer.open({
            type: 2,
            title: '七天签到',
            shadeClose: false,
            maxmin: true, //开启最大化最小化按钮
            area: ['1165px', '750px'],
            content: '/home/sign',
            anim:3,
            isOutAnim:true,
            shade: [0.5, '#000'],
          });
    }else{
        window.location.href = url,'_blank'  
    }
    
}




//轮播事件
layui.use(function(){
  var carousel = layui.carousel;
  // 渲染 - 图片轮播
  carousel.render({
    elem: '#ID-carousel-demo-image',
    width: '100%',
    height: '100%',
    arrow:'none',
    interval: 3000
  });
});
</script>

